import client from "./internal/httpClient";

// export function login(params: any) {
//   return client.post("/api/admin/login", params);
// }

export function webList() {
  return client.get("/api/admin/webPath/lists", {});
}

export function getConfig(params: any) {
  return client.post(`/api/admin/get/config`, params);
}

// 获取版本更新信息
export function getVersion() {
  return client.get(`/api/admin/get/version`, {});
}

// 获取更新包
export function getUpdatePackage() {
  return client.get(`/api/admin/get/updatePackage`, {});
}
